package com.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@PropertySource(value = "classpath:wx.properties")
@Component
@Data
public class WxConfig {

    @Value("${appid}")
    private  String appid;

}
